﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TestSessionVar.aspx.cs"
    Inherits="RSSReader.pageswithContent.tests.TestSessionVar" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
     <link href="/styleCustom/StyleSheet1.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
            SelectMethod="getUserCustomSites" 
            TypeName="RSSReader.classesCustom.UserDataHandler" 
            onobjectcreating="ObjectDataSource1_ObjectCreating"></asp:ObjectDataSource>

        <asp:ListView ID="ListView1" runat="server" DataKeyNames="ID" DataSourceID="ObjectDataSource1"
            EnableModelValidation="True">
            <LayoutTemplate>
                <ul id="itemPlaceholderContainer">
                    <li runat="server" id="itemPlaceholder" />
                </ul>
            </LayoutTemplate>
            <ItemTemplate>
                <table width="250px" style="border-bottom: dotted 1px #b3b3b3;">
                    <tr>
                        <td rowspan="2" align="center" valign="middle" width="60px">
                            <asp:Image ID="logoImage" runat="server" ImageUrl='<%# Eval("Logo") %>' CssClass="logoimg" />
                        </td>
                        <td align="right">
                            <h1>
                                <asp:Label ID="siteNameLabel" runat="server" Text='<%# Eval("Name") %>' />
                            </h1>
                        </td>
                        <td align="center" width="30px">
                            <asp:CheckBox ID="vizibilCheckBox" OnCheckedChanged="vizibilCheckBox_CheckChange"
                                runat="server" Checked='<%# Eval("Visible") %>' AutoPostBack="true" Enabled="true" />
                        </td>
                    </tr>
                    <tr>
                        <td align="right" colspan="1">
                            <asp:Label ID="descriptionLabel" runat="server" Text='<%# Eval("description") %>'
                                Font-Size="X-Small" />
                        </td>
                        <td>
                        </td>
                    </tr>
                </table>
            </ItemTemplate>
            <EmptyDataTemplate>
                No data was returned.
            </EmptyDataTemplate>
        </asp:ListView>
    </div>
    </form>
</body>
</html>
